<%@ page import="org.bjou.Course" %>
<html>
  <head>
    <meta name="layout" content="pertho">
    <g:set var="entityName" value="${message(code: 'course.label', default: 'Course')}" />
    <title>上传课程表</title>
  
     
  </head>
  <body>
    <div class="container">
            <div class="row">
                <div class="twelve columns">
                    <div class="box_c">
                        <div class="box_c_heading cf">
                            <p><g:message code="default.upload.label" args="[entityName]" /></p>
                        </div>
                        <div class="box_c_content form_a">
                          <g:if test="${flash.message}">
                         <div class="message" role="status">${flash.message}  </div>
                        </g:if>
                         
                          <!--内容开始-->
  <g:uploadForm action="uploadCourse" method="post" class="nice">
  

      <div class="formRow">
      <label for="fileupload">上传课程表:</label>
   
     <input type="file" name="fileupload" id="fileupload" />
      <g:submitButton name="save" class="gh_button" value="${message(code: 'default.button.upload.label', default: '上传')}" />		

   </div>  
    
     <div class="formRow">
       <img src="${resource(dir: 'gallery', file: 'course.png')}"/>
       <div> 注意: 导入的sheet的名称请命名为“<font color="red">专业规则总表</font>”</div>
          </div>  
                             
                             
                        
  </div>
</g:uploadForm>
      <!--内容结束--> 
                        </div>
                      
                      
                       
                    </div>
              </div>
          </div>
     </div>
    
            
       
  </body>
</html>